﻿@model Blogger.UI.Models.Posting
@{
    ViewBag.Title = "PublishPosting";
    Layout = "~/Views/Shared/_UILayout.cshtml";
}
<h2>
    PublishPosting</h2>
<fieldset>
    <legend>@Model.Title</legend>
    <div class="mota">
        @Html.DisplayFor(model => model.Body)
    </div>
</fieldset>
@using (Html.BeginForm())
{
    <p>
        <input type="submit" value="Publish" />
    </p>
    <p>
        @Html.ActionLink("Back to Posting List", "Posting", new { id = Model.BlogID }, null)
    </p>
}